Imports System.Collections.Generic
Imports DataLayer
Imports EntityLayer

Public Class DetalleOrdenCompraBL

    Public Shared Function Agregar(ByVal intOrdenCompra As Integer, ByVal DetalleOrdenCompraEN As DetalleOrdenCompra) As Boolean
        Return DetalleOrdenCompraDA.Agregar(intOrdenCompra, DetalleOrdenCompraEN)
    End Function

    Public Shared Function ListarDetalleCompraxCodigo(ByVal intOrdenCompra As Integer) As DataSet
        Return DetalleOrdenCompraDA.ListarDetalleCompraxCodigo(intOrdenCompra)
    End Function

    Public Shared Function Eliminar(ByVal intOrdenCompra As Integer) As Boolean
        Return DetalleOrdenCompraDA.Eliminar(intOrdenCompra)
    End Function

End Class
